﻿<%@ Page Language="C#" MasterPageFile="~/SMSMasterPage.master" AutoEventWireup="true"
    CodeFile="sendsms.aspx.cs" Inherits="sendsms" Title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="100%">
        <tr>
            <td class="contnt_Hdrtxt">
                <strong>Send Text Message</strong>
            </td>
        </tr>
        <tr>
            <td>
                <table style="width: 100%;">
                    <tr>
                        <%--<td width="158" valign="top">
                &nbsp;
            </td>--%>
                        <td>
                            <table style="width: 100%;" class="subtxt_aftrlogin">
                                <tr>
                                    <td style="width: 400px" valign="top">
                                        <table width="100%">
                                            <tr>
                                                <td valign="top" style="width: 100px">
                                                    Select From Number:
                                                </td>
                                                <td valign="top">
                                                    <asp:Panel ID="pnl1" runat="server">
                                                        <asp:RadioButtonList ID="RBL_FromNumbers" runat="server">
                                                        </asp:RadioButtonList>
                                                    </asp:Panel>
                                                    <asp:Panel ID="pnl2" runat="server">
                                                        <asp:LinkButton ID="lbtnAddNumber" runat="server">Add New Number</asp:LinkButton>
                                                        <cc1:ModalPopupExtender ID="lbtnAddNumber_ModalPopupExtender" runat="server" DynamicServicePath=""
                                                            Enabled="True" BackgroundCssClass="modalBg" CancelControlID="LinkButton1" PopupControlID="Panel1"
                                                            TargetControlID="lbtnAddNumber">
                                                        </cc1:ModalPopupExtender>
                                                    </asp:Panel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top" style="width: 100px">
                                                    <br />
                                                    Tweak Speed: &nbsp;
                                                </td>
                                                <td valign="top">
                                                    <br />
                                                    <asp:TextBox ID="txtTweakSpeed" runat="server"></asp:TextBox><br />
                                                    Note:- To change the SMS Speed enter a value in seconds between each send. You can
                                                    enter decimals if needed.<br />
                                                    <span style="text-decoration: underline;">Previous Tweak value:</span> &nbsp;&nbsp;
                                                    <asp:Label ID="lblTweakValue" runat="server" Style="color: Red;"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top" style="width: 100px">
                                                    <br />
                                                    Select Option:
                                                </td>
                                                <td valign="top">
                                                    <br />
                                                    <table style="width: 232px" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                            <td valign="top" style="width: 150px">
                                                                <asp:RadioButtonList ID="RadioButtonList1" runat="server" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged"
                                                                    AutoPostBack="True" Height="50px" Width="140px" Style="margin-top: -7px;">
                                                                    <asp:ListItem>Send to entire group</asp:ListItem>
                                                                    <asp:ListItem>Single Number</asp:ListItem>
                                                                </asp:RadioButtonList>
                                                            </td>
                                                            <td valign="top">
                                                                <div style="margin-top: 2px;">
                                                                    <asp:LinkButton ID="lbtnSubG" runat="server" Style="font-size: 11px; color: Black;
                                                                        text-decoration: none;"></asp:LinkButton>
                                                                    <cc1:ModalPopupExtender ID="lbtnSubG_ModalPopupExtender" runat="server" DynamicServicePath=""
                                                                        CancelControlID="LC" BackgroundCssClass="modalBg" PopupControlID="pnlGroupContacts"
                                                                        Enabled="True" TargetControlID="lbtnSubG">
                                                                    </cc1:ModalPopupExtender>
                                                                </div>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top" style="width: 100px">
                                                    &nbsp;
                                                </td>
                                                <td valign="top">
                                                    <asp:Panel runat="server" ID="pnlSubGroup" Visible="false" Style="margin-left: 25px;
                                                        margin-top: 5px;">
                                                        <asp:DropDownList ID="ddlSubGroup" runat="server" OnSelectedIndexChanged="ddlSubGroup_SelectedIndexChanged"
                                                            AutoPostBack="True">
                                                        </asp:DropDownList>
                                                    </asp:Panel>
                                                    <asp:Panel runat="server" ID="pnlSingleNumber" Visible="false" Style="margin-left: 10px;
                                                        margin-top: 5px;">
                                                        <asp:TextBox ID="txtSingleNumber" runat="server" MaxLength="15"></asp:TextBox>
                                                        <cc1:FilteredTextBoxExtender ID="txtSingleNumber_FilteredTextBoxExtender" runat="server"
                                                            Enabled="True" TargetControlID="txtSingleNumber" ValidChars="0123456789">
                                                        </cc1:FilteredTextBoxExtender>
                                                    </asp:Panel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top" style="width: 100px">
                                                    &nbsp;
                                                </td>
                                                <td valign="top">
                                                    <%--<asp:Label ID="lm" runat="server"></asp:Label>
                                                    &nbsp;Messages left this month.--%>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top" style="width: 100px">
                                                    <asp:Label ID="lbluid" runat="server" Visible="false"></asp:Label>
                                                </td>
                                                <td valign="top">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td valign="top">
                                        <table style="width: 100%">
                                            <tr>
                                                <td valign="top">
                                                    Message:
                                                </td>
                                                <td valign="top">
                                                    <asp:TextBox ID="txtmessage" runat="server" Style="font-family: Arial;" Columns="27"
                                                        Rows="5" onkeydown="textCounter1(this,remLen4,160)" onmouseout="textCounter1(this,remLen4,160)"
                                                        onkeyup="textCounter1(this,remLen4,160)" TextMode="MultiLine" Height="103px"
                                                        Width="227px" Font-Size="Small"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtmessage"
                                                        ErrorMessage="Type message to send" ValidationGroup="sms">*</asp:RequiredFieldValidator>
                                                    <br />
                                                    <table>
                                                        <tr>
                                                            <td>
                                                                <input maxlength="3" name="remLen4" readonly="readonly" size="3" type="text" value="160"
                                                                    style="width: 27px" />
                                                            </td>
                                                            <td>
                                                                chars left
                                                            </td>
                                                            <td>
                                                                &nbsp;
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="middle">
                                                    Add:
                                                </td>
                                                <td valign="top">
                                                    <table width="100%">
                                                        <tr>
                                                            <td>
                                                                <asp:DropDownList ID="DropDownList1" runat="server" onchange="InsertText1(this);">
                                                                    <asp:ListItem Text="--Select--" Value="--Select--"></asp:ListItem>
                                                                    <asp:ListItem Text="Username" Value="Admin"></asp:ListItem>
                                                                    <asp:ListItem Text="Unsubscribe" Value="Reply STOP to optout."></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblmergelist" runat="server" Text="Personalize:" Visible="false"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:DropDownList ID="ddlmailmergelist" runat="server" Visible="false" onchange="InsertText(this);">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top">
                                                </td>
                                                <td valign="top">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top">
                                                    &nbsp;
                                                </td>
                                                <td valign="top">
                                                    <asp:UpdatePanel ID="updschedulemsg" runat="server">
                                                        <ContentTemplate>
                                                            <%--<asp:RadioButtonList ID="RBL_sendsms" runat="server" AutoPostBack="True" OnSelectedIndexChanged="RBL_sendsms_SelectedIndexChanged">
                                                                <asp:ListItem Selected="True">Send Message Now</asp:ListItem>
                                                                <asp:ListItem>Schedule Message</asp:ListItem>
                                                            </asp:RadioButtonList>--%>
                                                            <asp:Panel ID="Panel12" CssClass="modalPanel" runat="server" Height="110px" Width="260px">
                                                                <legend style="color: #333333"><b>Schedule Date Time</b></legend>
                                                                <table width="100%">
                                                                    <tr>
                                                                        <td align="left" style="width: 59px">
                                                                            &nbsp;Date:
                                                                        </td>
                                                                        <td align="left">
                                                                            <asp:TextBox ID="txtDate" runat="server" autocomplete="off" Width="119px"></asp:TextBox>
                                                                            <cc1:CalendarExtender ID="txtDate_CalendarExtender" runat="server" Enabled="True"
                                                                                TargetControlID="txtDate">
                                                                            </cc1:CalendarExtender>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="left" style="width: 59px" colspan="2">
                                                                            <table style="width: 195px">
                                                                                <tr>
                                                                                    <td align="left">
                                                                                        Time Zone:
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:DropDownList ID="ddlTimeZone" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlTimeZone_SelectedIndexChanged">
                                                                                            <asp:ListItem>Time Zone</asp:ListItem>
                                                                                            <asp:ListItem Value="-07:00">PST</asp:ListItem>
                                                                                            <asp:ListItem Value="-06:00">MST</asp:ListItem>
                                                                                            <asp:ListItem Value="-05:00">CST</asp:ListItem>
                                                                                            <asp:ListItem Value="-04:00">EST</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="left" style="width: 59px">
                                                                            &nbsp;Time:
                                                                        </td>
                                                                        <td>
                                                                            <table>
                                                                                <tr>
                                                                                    <td style="height: 26px">
                                                                                        <asp:DropDownList ID="DropDownListHour" runat="server" Style="font-family: Arial, Helvetica, sans-serif;
                                                                                            font-size: small; color: #666666">
                                                                                            <asp:ListItem>01</asp:ListItem>
                                                                                            <asp:ListItem>02</asp:ListItem>
                                                                                            <asp:ListItem>03</asp:ListItem>
                                                                                            <asp:ListItem>04</asp:ListItem>
                                                                                            <asp:ListItem>05</asp:ListItem>
                                                                                            <asp:ListItem>06</asp:ListItem>
                                                                                            <asp:ListItem>07</asp:ListItem>
                                                                                            <asp:ListItem>08</asp:ListItem>
                                                                                            <asp:ListItem>09</asp:ListItem>
                                                                                            <asp:ListItem>10</asp:ListItem>
                                                                                            <asp:ListItem>11</asp:ListItem>
                                                                                            <asp:ListItem>12</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td style="height: 26px">
                                                                                        <asp:DropDownList ID="DropDownListMinute" runat="server" Style="font-family: Arial, Helvetica, sans-serif;
                                                                                            font-size: small; color: #666666">
                                                                                            <asp:ListItem Value="00">00</asp:ListItem>
                                                                                            <asp:ListItem Value="01">01</asp:ListItem>
                                                                                            <asp:ListItem Value="02">02</asp:ListItem>
                                                                                            <asp:ListItem Value="03">03</asp:ListItem>
                                                                                            <asp:ListItem Value="04">04</asp:ListItem>
                                                                                            <asp:ListItem Value="05">05</asp:ListItem>
                                                                                            <asp:ListItem Value="06">06</asp:ListItem>
                                                                                            <asp:ListItem Value="07">07</asp:ListItem>
                                                                                            <asp:ListItem Value="08">08</asp:ListItem>
                                                                                            <asp:ListItem Value="09">09</asp:ListItem>
                                                                                            <asp:ListItem Value="10">10</asp:ListItem>
                                                                                            <asp:ListItem Value="11">11</asp:ListItem>
                                                                                            <asp:ListItem Value="12">12</asp:ListItem>
                                                                                            <asp:ListItem Value="13">13</asp:ListItem>
                                                                                            <asp:ListItem Value="14">14</asp:ListItem>
                                                                                            <asp:ListItem Value="15">15</asp:ListItem>
                                                                                            <asp:ListItem Value="16">16</asp:ListItem>
                                                                                            <asp:ListItem Value="17">17</asp:ListItem>
                                                                                            <asp:ListItem Value="18">18</asp:ListItem>
                                                                                            <asp:ListItem Value="19">19</asp:ListItem>
                                                                                            <asp:ListItem Value="20">20</asp:ListItem>
                                                                                            <asp:ListItem Value="23">21</asp:ListItem>
                                                                                            <asp:ListItem Value="22">22</asp:ListItem>
                                                                                            <asp:ListItem Value="23">23</asp:ListItem>
                                                                                            <asp:ListItem Value="24">24</asp:ListItem>
                                                                                            <asp:ListItem Value="25">25</asp:ListItem>
                                                                                            <asp:ListItem Value="26">26</asp:ListItem>
                                                                                            <asp:ListItem Value="27">27</asp:ListItem>
                                                                                            <asp:ListItem Value="28">28</asp:ListItem>
                                                                                            <asp:ListItem Value="29">29</asp:ListItem>
                                                                                            <asp:ListItem Value="30">30</asp:ListItem>
                                                                                            <asp:ListItem Value="31">31</asp:ListItem>
                                                                                            <asp:ListItem Value="32">32</asp:ListItem>
                                                                                            <asp:ListItem Value="33">33</asp:ListItem>
                                                                                            <asp:ListItem Value="34">34</asp:ListItem>
                                                                                            <asp:ListItem Value="35">35</asp:ListItem>
                                                                                            <asp:ListItem Value="36">36</asp:ListItem>
                                                                                            <asp:ListItem Value="37">37</asp:ListItem>
                                                                                            <asp:ListItem Value="38">38</asp:ListItem>
                                                                                            <asp:ListItem Value="39">39</asp:ListItem>
                                                                                            <asp:ListItem Value="40">40</asp:ListItem>
                                                                                            <asp:ListItem Value="41">41</asp:ListItem>
                                                                                            <asp:ListItem Value="42">42</asp:ListItem>
                                                                                            <asp:ListItem Value="43">43</asp:ListItem>
                                                                                            <asp:ListItem Value="44">44</asp:ListItem>
                                                                                            <asp:ListItem Value="45">45</asp:ListItem>
                                                                                            <asp:ListItem Value="46">46</asp:ListItem>
                                                                                            <asp:ListItem Value="47">47</asp:ListItem>
                                                                                            <asp:ListItem Value="48">48</asp:ListItem>
                                                                                            <asp:ListItem Value="49">49</asp:ListItem>
                                                                                            <asp:ListItem Value="50">50</asp:ListItem>
                                                                                            <asp:ListItem Value="51">51</asp:ListItem>
                                                                                            <asp:ListItem Value="52">52</asp:ListItem>
                                                                                            <asp:ListItem Value="53">53</asp:ListItem>
                                                                                            <asp:ListItem Value="54">54</asp:ListItem>
                                                                                            <asp:ListItem Value="55">55</asp:ListItem>
                                                                                            <asp:ListItem Value="56">56</asp:ListItem>
                                                                                            <asp:ListItem Value="57">57</asp:ListItem>
                                                                                            <asp:ListItem Value="58">58</asp:ListItem>
                                                                                            <asp:ListItem Value="59">59</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                    <td style="height: 26px">
                                                                                        <asp:DropDownList ID="ddlAMPM" runat="server">
                                                                                            <asp:ListItem>AM</asp:ListItem>
                                                                                            <asp:ListItem>PM</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                            <br />
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </asp:Panel>
                                                        </ContentTemplate>
                                                    </asp:UpdatePanel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top">
                                                    &nbsp;
                                                </td>
                                                <td valign="top">
                                                    <asp:ImageButton ID="btnSend" ImageUrl="~/images/send_btn.jpg" OnClick="btnSend_Click"
                                                        runat="server" ValidationGroup="sms" />
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top" colspan="2">
                                        <asp:Panel ID="pnlGroupContacts" Style="display: none;" runat="server" CssClass="modalPanel">
                                            <table>
                                                <tr>
                                                    <td align="right" bgcolor="#024F79">
                                                        <asp:LinkButton ID="LC" runat="server" ForeColor="White">[ X ]</asp:LinkButton>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:UpdatePanel runat="server" ID="upd1">
                                                            <ContentTemplate>
                                                                <table>
                                                                    <tr>
                                                                        <td>
                                                                            <table style="width: 345px">
                                                                                <tr>
                                                                                    <td>
                                                                                        <asp:CheckBox ID="chk" runat="server" AutoPostBack="True" Checked="True" OnCheckedChanged="chk_CheckedChanged" />
                                                                                        &nbsp;<asp:Label ID="lblcheckall" runat="server"></asp:Label>
                                                                                    </td>
                                                                                    <td>
                                                                                        <asp:Label ID="cc" runat="server"></asp:Label>
                                                                                        &nbsp;Total Contacts
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="width: 345px">
                                                                            <div id="dvs" runat="server" style="overflow: auto; height: 360px; width: 345px;">
                                                                                <asp:GridView ID="grdGroupContacts" runat="server" AutoGenerateColumns="False" CellPadding="4"
                                                                                    ForeColor="#333333" GridLines="None" Width="324px">
                                                                                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                                                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                                                                    <Columns>
                                                                                        <asp:TemplateField>
                                                                                            <ItemTemplate>
                                                                                                <asp:CheckBox ID="ChkCkeck" runat="server" AutoPostBack="True" Checked="True" OnCheckedChanged="ChkCkeck_CheckedChanged" />
                                                                                            </ItemTemplate>
                                                                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Mobile Number">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="lblNumber" runat="server" Text='<%# Bind("MobileNumber") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="First Name">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="lblName" runat="server" Text='<%# Bind("FirstName") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Last Name">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="lblLastName" runat="server" Text='<%# Bind("LastName") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                                                        </asp:TemplateField>
                                                                                    </Columns>
                                                                                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                                                                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                                                                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                                                    <EditRowStyle BackColor="#999999" />
                                                                                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                                                                </asp:GridView>
                                                                            </div>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </td>
                                                </tr>
                                            </table>
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top" colspan="2">
                                        <asp:Panel ID="Panel1" runat="server" CssClass="modalPanel" Width="350px" Style="display: none;">
                                            <table width="100%">
                                                <tr>
                                                    <td align="right" bgcolor="#024F79">
                                                        <asp:LinkButton ID="LinkButton1" runat="server" ForeColor="White" OnClick="LinkButton1_Click">[ X ]</asp:LinkButton>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:UpdatePanel runat="server" ID="UpdatePanel1">
                                                            <ContentTemplate>
                                                                <table width="100%">
                                                                    <tr>
                                                                        <td>
                                                                            Enter Number:
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="txtAddNumber" runat="server" MaxLength="10"></asp:TextBox>
                                                                            <cc1:FilteredTextBoxExtender ID="txtAddNumber_FilteredTextBoxExtender" runat="server"
                                                                                Enabled="True" FilterType="Numbers" TargetControlID="txtAddNumber" ValidChars="0123456789">
                                                                            </cc1:FilteredTextBoxExtender>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Enter Description Here"
                                                                                ControlToValidate="txtDescription" ValidationGroup="number">*</asp:RequiredFieldValidator>
                                                                            <cc1:ValidatorCalloutExtender ID="RequiredFieldValidator1_ValidatorCalloutExtender"
                                                                                runat="server" Enabled="True" TargetControlID="RequiredFieldValidator1">
                                                                            </cc1:ValidatorCalloutExtender>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            Description:
                                                                        </td>
                                                                        <td>
                                                                            <asp:TextBox ID="txtDescription" runat="server"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtAddNumber"
                                                                                ErrorMessage="Enter Number Here" ValidationGroup="number">*</asp:RequiredFieldValidator>
                                                                            <cc1:ValidatorCalloutExtender ID="RequiredFieldValidator3_ValidatorCalloutExtender"
                                                                                runat="server" Enabled="True" TargetControlID="RequiredFieldValidator3">
                                                                            </cc1:ValidatorCalloutExtender>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="right" colspan="2">
                                                                            Enter 10 digit number without space and (-) hyphen
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="right" colspan="2">
                                                                            <asp:Label ID="lblmsg" runat="server" Style="color: Red;"></asp:Label>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                        </td>
                                                                        <td>
                                                                            <asp:Button ID="btnAddNumber" runat="server" OnClick="btnAddNumber_Click" Text="Add Number"
                                                                                ValidationGroup="number" />
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </td>
                                                </tr>
                                            </table>
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
